﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.ObjectModel;

namespace TimeSheet.UI.Data
{
    /// <summary>
    /// Category with some projects
    /// </summary>
    public class Category
    {
        /// <summary>
        /// Initialize a new instance of Category
        /// </summary>
        public Category()
        {
            this.Name = string.Empty;
            this.Projects = new ObservableCollection<Project>();
        }

        /// <summary>
        /// Sets or gets the category name
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// Sets or gets the list of projects
        /// </summary>
        public ObservableCollection<Project> Projects { get; set; }

    }
}
